package com;

import playerInterface.mediator.MainMenuScreen;
import gameRunning.GameBallProxy;
import gameRunning.mediator.BackGroundMediator;
import gameRunning.mediator.RunningScreen;

import com.example.GdxTest.GermCraft;

import libgdxMVC.Facade;

public class GameFacade extends Facade {

public GermCraft game;
	
	public GameFacade(GermCraft game) {
		this.game=game;
		initializeController();
	}

	@Override
	public void initializeController()
	{
		registerMediator(new RunningScreen(this), RunningScreen.NAME);
		registerMediator(new MainMenuScreen(this), MainMenuScreen.NAME);
		registerMediator(new BackGroundMediator(this), BackGroundMediator.NAME);
		
		//----------------------------------------------------------
		registerProxy(new GameBallProxy(this), GameBallProxy.NAME);
	}

}
